const express = require('express');
const router = express.Router();
const { auth } = require('../middlewares/auth');
const paymentController = require('../controllers/payment.controller');

// Get payment status by order number
router.get('/status/:orderNo', auth, paymentController.getPaymentStatus);

// Handle payment notification
router.post('/notify', paymentController.handlePaymentNotify);

module.exports = router; 